<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>导入模板</title>
</head>
<body>
    <form>
        <div>
            <span > <input onchange="teacherPage.selectFile()" name = "file" id="teacherFileUpload" style="opacity: 0;width: 129px;height: 46px;position: absolute" type="file"/></span>
            <div>
                <button  style="background: cadetblue" type="button" class="btn btn-default btn-lg">
                    <span class="glyphicon glyphicon-file" aria-hidden="true"></span> 选择文件
                </button>
                <span id="fileContent"></span>
            </div>
            <div>
                <a href="teacher/downloadTemplate"  style="background: pink" type="button" class="btn btn-default btn-lg">
                    <span class="glyphicon glyphicon-download" aria-hidden="true"></span> 下载模板
                </a>
            </div>
        </div>
        <input type="hidden" th:value="${fileHideValue}" id="importHideValue"/>
    </form>
</body>
</html>